home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / AIncludes / Clipboard.a < prev    next >
Encoding:
Text File  |  1996-05-01  |  1.9 KB  |  70 lines  |  [TEXT/MPS ]

  1. ;
  2. ;    File:        Clipboard.a
  3. ;
  4. ;    Contains:    Clipboard Manager Interfaces.
  5. ;
  6. ;    Version:    Technology:    System 8
  7. ;                Release:    Universal Interfaces 3.0d3 on Copland DR1
  8. ;
  9. ;    Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10. ;
  11. ;    Bugs?:        If you find a problem with this file, send the file and version
  12. ;                information (from above) and the problem description to:
  13. ;
  14. ;                    Internet:    apple.bugs@applelink.apple.com
  15. ;                    AppleLink:    APPLE.BUGS
  16. ;
  17. ;
  18.     IF &TYPE('__CLIPBOARD__') = 'UNDEFINED' THEN
  19. __CLIPBOARD__ SET 1
  20.  
  21.     IF &TYPE('__TYPES__') = 'UNDEFINED' THEN
  22.     include 'Types.a'
  23.     ENDIF
  24.     IF &TYPE('__SCRAP__') = 'UNDEFINED' THEN
  25.     include 'Scrap.a'
  26.     ENDIF
  27.     IF FOR_SYSTEM8_PREEMPTIVE THEN
  28. ;
  29. ;_________________________________________________________________________________________________________
  30. ; • ERRORS
  31. ;_________________________________________________________________________________________________________
  32. ;
  33.  
  34. kClipboardEmptyErr                EQU        -1000
  35. kClipboardScrapNotFoundErr        EQU        -1001
  36. ;
  37. ;_________________________________________________________________________________________________________
  38. ; • PUTTING A SCRAP ON THE CLIPBOARD
  39. ;_________________________________________________________________________________________________________
  40. ;
  41. ;
  42. ; extern OSStatus PutScrapOnClipboard(ScrapRef theScrap)
  43. ;
  44.     IF GENERATINGCFM THEN
  45.         IMPORT_CFM_FUNCTION PutScrapOnClipboard
  46.     ENDIF
  47.  
  48. ;
  49. ;_________________________________________________________________________________________________________
  50. ; • GETTING A SCRAP FROM THE CLIPBOARD
  51. ;_________________________________________________________________________________________________________
  52. ;
  53. ;
  54. ; extern OSStatus GetScrapFromClipboard(ScrapRef *theScrap)
  55. ;
  56.     IF GENERATINGCFM THEN
  57.         IMPORT_CFM_FUNCTION GetScrapFromClipboard
  58.     ENDIF
  59.  
  60. ;
  61. ; extern OSStatus ReleaseClipboardScrap(ScrapRef theScrap)
  62. ;
  63.     IF GENERATINGCFM THEN
  64.         IMPORT_CFM_FUNCTION ReleaseClipboardScrap
  65.     ENDIF
  66.  
  67.     ENDIF
  68.     ENDIF ; __CLIPBOARD__ 
  69.  
  70.